import request from '@/utils/request';

export function apiLocationAll(data) {
  return request({
    url: '/admin/location/all',
    method: 'post',
    data
  });
}

export function apiLocationEdit(data) {
  return request({
    url: '/admin/location/edit',
    method: 'post',
    data
  });
}

export function apiLocationGenCode(data) {
  return request({
    url: '/admin/location/genCode/do',
    method: 'post',
    data
  });
}
